package com.situ.project1.service;

import com.situ.project1.pojo.Order;
import com.situ.project1.util.PaginateInfo;

import java.util.List;

/**
 * @author:yzy
 * @date:2024/8/10
 */
public interface OrderService {
    List<Order> findAll(PaginateInfo pi, Order order);

    boolean add(Order order);

    boolean update(Order order);

    boolean delete(Integer[] ids);

    Order findEarliest(String orderId);

    boolean deleteById(Integer id);

    boolean finish(String id, String model);
}
